home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1986 July
/
Ahoy_Magazine_86-07_1986_Double_L.d64
/
dir editor.txt
< prev
next >
Wrap
Text File
|
2022-10-26
|
2KB
|
89 lines
1541 Directory Editor
by Robert Ross
This program is a directory editor
for all 1541 compatible drives (1541,
MSD, Indus, etc). It will allow you
to read a disk directory into memory,
manipulate it (sort, add, delete
entries, protect / unprotect entries,
etc), and write the updated directory
back onto the disk. This will not
change the programs or data on the
disk, only the directory. Try this
program only on test disks until you
are familiar with its operation.
NOTE: some letters stand for
different options when shifted.
OPTIONS:
'r' read directory of disk in unit 8,
drive 0
'L' list a range of entries
'l' list up to current entry
'+' add 1 to current entry
'-' subtract 1 from current entry
'C' set new curren entry
'i' make space to insert entries
'd' delete entries (old entries saved
at top)
'W' write entries, 1 to high, to
unit 8, drive 0
'e' edit an entry
's' swap 2 entries
'c' copy one entry to another
'S' sort entries
'p' protect range of entries
'u' unprotect range of entries
'z' zero a range of entries
'h' set high entry
'H' help screen
'RUN/STOP' usually stops program
24 data bytes are stored for each
entry.
SORTING
Sorting may be done on from 1 to all
24 bytes of the entries. Sort
direction (><) may be set for each
byte: '>' means 'a' will preceed 'b'
after the sort. 'width' (1-24) is the
# of characters used for comparing
entries. '1st' and 'last' give the
entry sort range.
'specify' allows the order and
direction of sorting to be set; the
letters a to x stand for the 24
bytes:
[a=file type;
b,c=track,sector of first block;
d-s=file name;
t,u=track,sector for the first
side sector of a relative file;
v=relative file record length;
w,x=low byte,high byte of file
length].
e.g.:'width'=1, order="a...",
direction="<..." would sort by
decreasing file type groups.
'names' sets a default order with d-s
at the start and all directions = '>'
PROTECTING PROGRAMS
You can protect programs from being
scratched or deleted with the 'p'
option. To do only one entry, give
the same number for the first and the
last of the range identifier. You can
unprotect them with the 'u' option.